package com.gmail.dmitryustimov.ms.java7.visitor.mod_reflective.example.example1;

/**
 * Author: Dmitry Ustimov
 * Date: 5/10/13
 * Time: 10:32 AM
 */
public class Variable extends Expression {
    public Variable(String id) {
        this.id = id;
        this.value = 0;
    }
    public int getValue() { return value; }
    public void setValue(int value) { this.value = value; }
    public String getId() { return id; }
    private String id;
    private int value;
}
